package com.hongyu.manager.media.manager.model.bean;

import com.hongyu.manager.media.manager.model.vo.BaseReqVO;

import java.util.List;

public class User extends BaseReqVO {

    /**
     * 平台总管理员
     */
    public static final int USER_TYPE_ADMIN = 1;


    public static final int USER_TYPE_APP = 2;


    public static final int USER_TYPE_NORMAL = 3;


    /**
     * 司机
     */
    public static final int USER_TYPE_DRIVER = 2;

    /**
     * 客户（可登录后端）
     */
    public static final int USER_TYPE_CUSTOMER = 3;

    /**
     * 装箱组别（可登录后端）
     */
    public static final int USER_TYPE_GROUP = 4;

    /**
     * 移动仓管理员（可登录后端）
     */
    public static final int USER_TYPE_WAREHOUSE = 5;

    /**
     * 销售人员（无法删除）（可登录后端）
     */
    public static final int USER_TYPE_SALE = 6;

    /**
     * 装车管理员（可登录后端）
     */
    public static final int USER_TYPE_ENTRUCKING = 7;

    /**
     * 装箱人员（不用）
     */
    public static final int USER_TYPE_WORKER = 8;

    public static final String[] STATES = {"正常", "已删除"};

    /**
     * 状态正常
     */
    public static final int STATE_NORMAL = 1;

    /**
     * 被禁封
     */
    public static final int STATE_FORBIDDEN = 2;
    private static final long serialVersionUID = 5276376515200442091L;
    private int id;
    private  int uid;

    private String photo;
    private String avatar;


    private String username;
    private String account;
    private String password;
    private String mobile;
    private String userpass;
    private String unionId;
    private String openId;
    private int userGrade;
    private int age;
    private int sex;
    private int deptId;
    private String deptName;
    private String genderLabel;

    private String sexStr;
    private int status;
    private String userIds;
    private String realName;
    private String email;
    private String gender;
    private String nickname;
    private String  houseNumber;
    private String query;
    private List<String> roles;
    private List<String> perms;
    private boolean deleted;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return username;
    }

    public void setUserName(String userName) {
        this.username = userName;
    }

    public String getUserPass() {
        return userpass;
    }

    public void setUserPass(String userpass) {
        this.userpass = userpass;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public int getUserGrade() {
        return userGrade;
    }

    public void setUserGrade(int userGrade) {
        this.userGrade = userGrade;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpass() {
        return userpass;
    }

    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }



    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }



    public String getSexStr() {
        return sexStr;
    }

    public void setSexStr(String sexStr) {
        this.sexStr = sexStr;
    }



    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPerms() {
        return perms;
    }

    public void setPerms(List<String> perms) {
        this.perms = perms;
    }

    public String getGenderLabel() {
        return genderLabel;
    }

    public void setGenderLabel(String genderLabel) {
        this.genderLabel = genderLabel;
    }
}
